import json
import os
from common.osPath import dirName
import random



#读取json 文件
def read_json(path):
   with open(os.path.join(dirName(),path),mode='r',encoding='utf-8') as f:
       data=json.loads(f.read())
       #返回json数据
       return data


